<% unless active_replication_systems.nil? or active_replication_systems.blank? %>
	<% active_replication_systems.each do |system| %>
		<div class="span-8 replication_info">
			<%= link_to "#{system.name}", :controller => 'replica_systems', :action => 'show', :id => system %>
		</div>
		<div class="span-3 replication_info">
			
				<%= link_to_remote "<div class='stop'>Remove Replica</div>", 
					:url => { :action => 'stop_replication', :audio_asset_id => audio_asset.id, :replica_system_id => system.id }, 
					:update => 'replication' %>
			
		</div>
	<% end %>
<% end %>

<% unless inactive_replication_systems.nil? or inactive_replication_systems.blank? %>
	<% inactive_replication_systems.each do |system| %>
		<div class="span-8 replication_info">
			<%= link_to "#{system.name}", :controller => 'replica_systems', :action => 'show', :id => system %>
		</div>
		<div class="span-3 replication_info">
			
				<%= link_to_remote "<div class='begin'>Create Replica</div>", 
					:url => { :action => 'begin_replication', :audio_asset_id => audio_asset.id, :replica_system_id => system.id }, 
					:update => 'replication' %>
			
		</div>
	<% end %>
<% end %>